package com.itheima.others;


class Outside {
    public void show() {
        int a = 10;
        class Inside {
            public void show() {
                System.out.println(a);//10
            }
        }
        Inside s = new Inside();
        s.show();
    }
}
 public  class Test4{
     public static void main(String[] args) {
         Outside outside = new Outside();
         outside.show();
     }
 }
